]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Don't build documentation for the recorder when it's disabled
authorGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 10 Jul 2012 17:24:50 +0000 (19:24 +0200)
committerGiovanni Campagna <gcampagna@src.gnome.org>
Tue, 10 Jul 2012 17:36:57 +0000 (19:36 +0200)
When building with gtk-doc but no recorder, build fails trying to
get the GType of ShellRecorder. Fix it by skipping its header file
when disabled.

docs/reference/shell/Makefile.am

index b9f1ba475ca59628639175d1e9301793b9492d42..b79bc7be2c4c064f5e322984a53bd3b065d713eb 100644 (file)
@@ -68,6 +68,10 @@ IGNORE_HFILES=                                       \
        gactionobserver.h                       \
        shell-recorder-src.h
 
+if !BUILD_RECORDER
+IGNORE_HFILES += shell-recorder.h
+endif
+
 # Images to copy into HTML directory.
 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
 HTML_IMAGES=